<?php

/**
* @Author:  	Daniel Dinh
* @Email:   	webdevelopmentvn@gmail.com
* @Link: 		http://www.joomsoft.net
* @Version: 	1.0
* @copyright:	Joomsoft.net
* @license:		GNU GPL v3
*/

// No direct access
defined('_JEXEC') or die;

jimport('joomla.application.component.view');
JLoader::register('DaniProHelper', JPATH_COMPONENT.'/helpers/danipro.php');
class DaniProViewDanipro extends JView
{

	public function display($tpl = null)
	{
		$this->addToolbar();
		parent::display($tpl);
	}
	protected function addToolbar()
	{
		JToolBarHelper::title(JText::_('COM_DANIPRO_DANIPRO_VIEW_CONTROL_PANEL') );
		JToolBarHelper::preferences('com_danipro');
	}
}

